<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>好友留言板</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>好友留言板</h1>
        <div class="message-form">
            <input type="text" id="author-input" placeholder="请输入你的名字..." required>
            <textarea id="message-input" placeholder="请在这里留言..." required></textarea>
            <button id="submit-btn">发送留言</button>
        </div>
        <hr>
        <div class="message-list-container">
            <p id="no-message-tip" class="hidden">还没有留言，快来留下你的足迹吧！</p>
            <div id="message-list">
                </div>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>